cssmatcher: Allow widget path matcher to take a node declaration
authorBenjamin Otte <otte@redhat.com>
Mon, 9 Feb 2015 10:24:29 +0000 (11:24 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 18 Mar 2015 14:23:30 +0000 (15:23 +0100)
commit2bf7bdd651bb4cdec54831667c11fbead43b1246
tree3b2cf4390a6e59dbcd3479f85c6eb7a1c2f13b35
parent630f0f199ef791c3657472429d850242c973eefe
cssmatcher: Allow widget path matcher to take a node declaration

The node declaration has the same functionality as
gtk_css_node_declaration_add_to_widget_path(). So instead of using that
function on a path, you can use the original path and the declaration in
a matcher.
gtk/gtkcssmatcher.c
gtk/gtkcssmatcherprivate.h
gtk/gtkcssnode.c
gtk/gtkcssnodedeclarationprivate.h
gtk/gtkcssprovider.c
gtk/gtkcsstypesprivate.h